package cn.kgc.crowdfundingadmin2.service;

import cn.kgc.crowdfundingadmin2.pojo.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoleService {
    public PageInfo<Role> queryForKeywordWithPage(
            Integer pageNum,
            Integer pageSize,
            String keyword);
    public List<Role> getRoleListByIdList(List<Integer> roleIdList);
    /*删除*/
    public void batchRemove(List<Integer> roleIdList);
    /*添加*/
    public void saveRole(String roleName);
    /*修改*/
    public void updateRole(Role role);
}
